let GetSubstring2 (Slice(p0, p1, text) as s) = s